package com.tidc.seaservermodel.dto;

import com.tidc.seaservermodel.entity.Menu;
import com.tidc.seaservermodel.entity.Role;
import com.tidc.seaservermodel.entity.User;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author ：冯涛滔
 * @date ：Created in 2020/9/12 14:25
 * @description：
 * @modified By：
 * @version:
 */
@Data
@Accessors(chain = true) //这个注解可以使这个类的set方法返回当前对象
public class UserDto {
    private int userId;
    private User user;
    private int levelNum;
    private int endExperienceValue;
    private List<Role> roles;
    private List<Menu> menus;
    private int accomplishCount;
    private int abandonCount;
    private int auditCount;
    private int unfinishedCount;
    private int timeoutCount;
    private int finishCommitmentCount;
}
